#ifndef _SAMPLE1_TABLEPARSE_H_
#define _SAMPLE1_TABLEPARSE_H_

#include <fstream>
#include <string>
#include <vector>
#include "Bus.h"

class TableParse
{
	typedef std::vector< Bus > BUSARRAY;
public:
	explicit TableParse();
	~TableParse();

	int GetLine() { return m_nLine; }

public:
	void ParsingData( std::ifstream& _file );

private:
	int m_nLine;
	std::string m_strArrivePos;
	std::string m_strArriveTime;
	std::string m_str;
	BUSARRAY m_vecBus;
};

#endif // _SAMPLE1_TABLEPARSE_H_